
function deleteItem(item) {
	var xmlhttp;
	var url = "deleteItem?itemId=" + item;
	if (window.XMLHttpRequest) {
		xmlhttp=new XMLHttpRequest();
	} else {
		xmlhttp=new ActiveXObject("Microsoft.XMLHTTP");
	}
	xmlhttp.onreadystatechange=function() {
		if (xmlhttp.readyState==4 && xmlhttp.status==200) {
			location.reload();
		}
	};
	xmlhttp.open("GET",url ,true);
	xmlhttp.send();			
}

function goBackToHome(){
	
	window.location = "store";
}

function goToPaymentPage(){
	
	window.location.href = 'checkout';
}

